import turtle
if __name__ == '__main__':
    turtle.color("black",'yellow')
    turtle.pencolor("red")
    turtle.begin_fill()
    turtle.circle(50)
    turtle.end_fill()

    # 窗口不会自动关闭
    turtle.done()